home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat1 / break.1 < prev    next >
Text File  |  1999-09-16  |  380b  |  67 lines

  1.  
  2.  
  3.  
  4. break(1)                       Scilab Function                       break(1)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   break - keyword to interrupt loops
  13.  
  14. DESCRIPTION
  15.   Inside a for or while loop, the command break forces the end of the loop.
  16.  
  17. EXAMPLE
  18.   k=0; while 1==1, k=k+1; if k > 100 then  break,end; end
  19.  
  20. SEE ALSO
  21.   while, ifthenelse, for, abort, return
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.